package com.zbhk.qc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * wpf
 *
 *
 */

@Data
@Entity
@Table(name = "bg_user")
public class BgUser {

    @Id
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    //账号
    @Column(name = "code")
    private String code;

    //姓名
    @Column(name = "name")
    private String name;

    //密码
    @Column(name = "password")
    private String password;

    //角色 1:超级管理员
    @Column(name = "role_code")
    private Integer roleCode;

    //状态
    @Column(name = "status")
    private Integer status;

    //创建时间
    @Column(name = "create_time")
    private String createTime;

}
